import {StatusData} from "../../coreModule/data/BaseData";
import {field} from "../../coreModule/data/DataLoader";

export enum ReportStatus {
    Checking = -1, Normal, NotPassed,
    Started, Ended, Deleted
}

export class Report extends StatusData<ReportStatus> {

    @field(String)
    public userId: string = "";
    @field(String)
    public taskId: string = "";
    @field([String])
    public types: string[] = [];
    @field([String])
    public images: string[] = [];
    @field(String)
    public supplement: string = "";
    @field(Number)
    public createdAt: number;

    public refresh(){

    }
}
